package com.cgq.pro.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cgq.base.service.impl.BaseServiceImpl;
import com.cgq.pro.dao.RegionDao;
import com.cgq.pro.entity.Region;
import com.cgq.pro.service.RegionService;

@Service
public class RegionServiceImpl extends BaseServiceImpl<Region> implements RegionService {

	private RegionDao regionDao;
	
	@Autowired
	public void setRegionDao(RegionDao regionDao) {
		this.regionDao = regionDao;
		this.baseDao=regionDao;
	}

	public List<Region> findAll() {
		return regionDao.findAll();
	}
	
}
